package test;

import java.util.Locale;

import javax.swing.JOptionPane;
import javax.swing.UIManager;

public class RunClient {
		public static void main(String[] args) {
			try {
				Locale.setDefault(new Locale("en"));
				UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
				//UIManager.setLookAndFeel(ch.randelshofer.quaqua.QuaquaManager.getLookAndFeel());
//				for (LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
//			        if ("Nimbus".equals(info.getName())) {
//			            UIManager.setLookAndFeel(info.getClassName());
//			            break;
//			        }
//			    }
			} catch (Exception e1) {
				// TODO Auto-generated catch block
				e1.printStackTrace();
			}
			
			String host = JOptionPane.showInputDialog("Host","192.168.10.");
			String port = JOptionPane.showInputDialog("port","12345");
			
			new ClientView(host, port);

		}
}
